KAWA_LANGSERVER_JSOURCES = \
  kawa/langserver/KawaLanguageServer.java

GNU_EXPR_JSOURCES = \
  gnu/expr/AccessExp.java \
  gnu/expr/ANormalize.java \
  gnu/expr/ApplicationMainSupport.java \
  gnu/expr/ApplyExp.java \
  gnu/expr/BeginExp.java \
  gnu/expr/BindingInitializer.java \
  gnu/expr/BlockExp.java \
  gnu/expr/BuiltinEnvironment.java \
  gnu/expr/CanFinishMap.java \
  gnu/expr/CatchClause.java \
  gnu/expr/ChainLambdas.java \
  gnu/expr/CheckedTarget.java \
  gnu/expr/ClassExp.java \
  gnu/expr/ClassInitializer.java \
  gnu/expr/CommandCompleter.java \
  gnu/expr/Compilation.java \
  gnu/expr/CompiledModule.java \
  gnu/expr/CompiledProc.java \
  gnu/expr/ConditionalTarget.java \
  gnu/expr/ConsumerTarget.java \
  gnu/expr/Declaration.java \
  gnu/expr/ErrorExp.java \
  gnu/expr/ExitExp.java \
  gnu/expr/Expression.java \
  gnu/expr/ExpExpVisitor.java \
  gnu/expr/ExpVisitor.java \
  gnu/expr/FindCapturedVars.java \
  gnu/expr/FindTailCalls.java \
  gnu/expr/FluidLetExp.java \
  gnu/expr/GenericProc.java \
  gnu/expr/IfExp.java \
  gnu/expr/CaseExp.java \
  gnu/expr/HasOwningField.java \
  gnu/expr/IgnoreTarget.java \
  gnu/expr/Initializer.java \
  gnu/expr/Inlineable.java \
  gnu/expr/InlineCalls.java \
  gnu/expr/KawaConvert.java \
  gnu/expr/Keyword.java \
  gnu/expr/LambdaExp.java \
  gnu/expr/LangExp.java \
  gnu/expr/Language.java \
  gnu/expr/LetExp.java \
  gnu/expr/Literal.java \
  gnu/expr/LitTable.java \
  gnu/expr/Mangling.java \
  gnu/expr/ModuleBody.java \
  gnu/expr/ModuleContext.java \
  gnu/expr/ModuleInfo.java \
  gnu/expr/ModuleManager.java \
  gnu/expr/ModuleSet.java \
  gnu/expr/ModuleExp.java \
  gnu/expr/NameLookup.java \
  gnu/expr/PairClassType.java \
  gnu/expr/ResolveNames.java \
  gnu/expr/ObjectExp.java \
  gnu/expr/QuoteExp.java \
  gnu/expr/PrimProcedure.java \
  gnu/expr/ProcInitializer.java \
  gnu/expr/PushApply.java \
  gnu/expr/ReferenceExp.java \
  gnu/expr/RunnableModule.java \
  gnu/expr/ScopeExp.java \
  gnu/expr/SetExp.java \
  gnu/expr/SourceName.java \
  gnu/expr/Special.java \
  gnu/expr/StackTarget.java \
  gnu/expr/Symbols.java \
  gnu/expr/SynchronizedExp.java \
  gnu/expr/Target.java \
  gnu/expr/ThisExp.java \
  gnu/expr/TryExp.java \
  gnu/expr/TypeValue.java \
  gnu/expr/VarValueTracker.java

JAVAX_SCRIPT_EXTRA = \
  gnu/expr/AbstractScriptEngineFactory.java \
  gnu/expr/KawaScriptBindings.java \
  gnu/expr/KawaScriptEngine.java

GNU_JEMACS_LANG_JSOURCES =\
  gnu/jemacs/lang/AddOp.java \
  gnu/jemacs/lang/CatchableException.java \
  gnu/jemacs/lang/defcustom.java \
  gnu/jemacs/lang/defgroup.java \
  gnu/jemacs/lang/DivideOp.java \
  gnu/jemacs/lang/ELisp.java \
  gnu/jemacs/lang/lambda.java \
  gnu/jemacs/lang/NumberCompare.java \
  gnu/jemacs/lang/Print.java \
  gnu/jemacs/lang/SaveExcursion.java \
  gnu/jemacs/lang/While.java

GNU_JEMACS_BUFFER_JSOURCES =\
  gnu/jemacs/buffer/Buffer.java \
  gnu/jemacs/buffer/BufferLocal.java \
  gnu/jemacs/buffer/BufferWriter.java \
  gnu/jemacs/buffer/CancelledException.java \
  gnu/jemacs/buffer/Command.java \
  gnu/jemacs/buffer/EFrame.java \
  gnu/jemacs/buffer/EKeymap.java \
  gnu/jemacs/buffer/EMenu.java \
  gnu/jemacs/buffer/EToolkit.java \
  gnu/jemacs/buffer/EWindow.java \
  gnu/jemacs/buffer/InfProcessMode.java \
  gnu/jemacs/buffer/InputStreamHandler.java \
  gnu/jemacs/buffer/Marker.java \
  gnu/jemacs/buffer/Mode.java \
  gnu/jemacs/buffer/ProcessMode.java \
  gnu/jemacs/buffer/ReplMode.java \
  gnu/jemacs/buffer/SelfInsertCommand.java \
  gnu/jemacs/buffer/Signal.java \
  gnu/jemacs/buffer/TelnetMode.java

GNU_JEMACS_SWING_JSOURCES =\
  gnu/jemacs/swing/BufferContent.java \
  gnu/jemacs/swing/IgnoreAction.java \
  gnu/jemacs/swing/Modeline.java \
  gnu/jemacs/swing/SwingBuffer.java \
  gnu/jemacs/swing/SwingFrame.java \
  gnu/jemacs/swing/SwingMenu.java \
  gnu/jemacs/swing/SwingToolkit.java \
  gnu/jemacs/swing/SwingWindow.java \
  gnu/jemacs/swing/TooLongAction.java

GNU_JEMACS_SWT_JSOURCES =\
  gnu/jemacs/swt/BufferContent.java \
  gnu/jemacs/swt/BufferContentReader.java \
  gnu/jemacs/swt/CommandDialog.java \
  gnu/jemacs/swt/LineOffsets.java \
  gnu/jemacs/swt/SwtBuffer.java \
  gnu/jemacs/swt/SwtCharBuffer.java \
  gnu/jemacs/swt/SwtFrame.java \
  gnu/jemacs/swt/SwtHelper.java \
  gnu/jemacs/swt/SwtKeyMapper.java \
  gnu/jemacs/swt/SwtMenu.java \
  gnu/jemacs/swt/SwtToolkit.java \
  gnu/jemacs/swt/SwtWindow.java \
  gnu/jemacs/swt/SwtWindowWidget.java

GNU_LISTS_JSOURCES = \
  gnu/lists/AbstractCharVector.java \
  gnu/lists/AbstractSequence.java \
  gnu/lists/Array.java \
  gnu/lists/Arrays.java \
  gnu/lists/AttributePredicate.java \
  gnu/lists/AVector.java \
  gnu/lists/BitVector.java \
  gnu/lists/Blob.java \
  gnu/lists/ByteVector.java \
  gnu/lists/CharBuffer.java \
  gnu/lists/CharSeq.java \
  gnu/lists/CharVector.java \
  gnu/lists/ComposedArray.java \
  gnu/lists/Consumer.java \
  gnu/lists/ConsumerWriter.java \
  gnu/lists/Consumable.java \
  gnu/lists/Convert.java \
  gnu/lists/ElementPredicate.java \
  gnu/lists/EmptyList.java \
  gnu/lists/EofClass.java \
  gnu/lists/ExtPosition.java \
  gnu/lists/ExtSequence.java \
  gnu/lists/F32Vector.java \
  gnu/lists/F64Vector.java \
  gnu/lists/FilterConsumer.java \
  gnu/lists/FlattenedArray.java \
  gnu/lists/FString.java \
  gnu/lists/FVector.java \
  gnu/lists/GeneralArray.java \
  gnu/lists/GeneralArray1.java \
  gnu/lists/IString.java \
  gnu/lists/ItemPredicate.java \
  gnu/lists/ImmutablePair.java \
  gnu/lists/IndirectIndexedSeq.java \
  gnu/lists/IntSequence.java \
  gnu/lists/IntVector.java \
  gnu/lists/LList.java \
  gnu/lists/LListPosition.java \
  gnu/lists/LongVector.java \
  gnu/lists/NodePredicate.java \
  gnu/lists/Pair.java \
  gnu/lists/PairWithPosition.java \
  gnu/lists/PositionConsumer.java \
  gnu/lists/PositionManager.java \
  gnu/lists/PrimIntegerVector.java \
  gnu/lists/PrintConsumer.java \
  gnu/lists/Range.java \
  gnu/lists/RAPair.java \
  gnu/lists/S8Vector.java \
  gnu/lists/S16Vector.java \
  gnu/lists/S32Vector.java \
  gnu/lists/S64Vector.java \
  gnu/lists/SeqPosition.java \
  gnu/lists/Sequence.java \
  gnu/lists/Sequences.java \
  gnu/lists/ShortVector.java \
  gnu/lists/SimpleVector.java \
  gnu/lists/SubSequence.java \
  gnu/lists/StableManager.java \
  gnu/lists/Strings.java \
  gnu/lists/TransformedArray.java \
  gnu/lists/TreeList.java \
  gnu/lists/TreePosition.java \
  gnu/lists/U8Vector.java \
  gnu/lists/U16Vector.java \
  gnu/lists/U32Vector.java \
  gnu/lists/U64Vector.java \
  gnu/lists/UnescapedData.java \
  gnu/lists/VoidConsumer.java \
  gnu/lists/XConsumer.java

GNU_MAPPING_JSOURCES = \
  gnu/mapping/ArgList.java \
  gnu/mapping/ArgListBuilder.java \
  gnu/mapping/ArgListImpl.java \
  gnu/mapping/ArgListPair.java \
  gnu/mapping/ArgListVector.java \
  gnu/mapping/CallContext.java \
  gnu/mapping/ConstrainedLocation.java \
  gnu/mapping/DynamicLocation.java \
  gnu/mapping/Environment.java \
  gnu/mapping/EnvironmentKey.java \
  gnu/mapping/Future.java \
  gnu/mapping/HasNamedParts.java \
  gnu/mapping/HasSetter.java \
  gnu/mapping/IndirectableLocation.java \
  gnu/mapping/InheritingEnvironment.java \
  gnu/mapping/KeyPair.java \
  gnu/mapping/Lazy.java \
  gnu/mapping/LazyPropertyKey.java \
  gnu/mapping/Location.java \
  gnu/mapping/LocationEnumeration.java \
  gnu/mapping/LocationProc.java \
  gnu/mapping/MethodProc.java \
  gnu/mapping/Named.java \
  gnu/mapping/NamedLocation.java \
  gnu/mapping/Namespace.java \
  gnu/mapping/PlainLocation.java \
  gnu/mapping/Procedure.java \
  gnu/mapping/Procedure0.java \
  gnu/mapping/Procedure0or1.java \
  gnu/mapping/Procedure1.java \
  gnu/mapping/Procedure1or2.java \
  gnu/mapping/Procedure2.java \
  gnu/mapping/Procedure3.java \
  gnu/mapping/Procedure4.java \
  gnu/mapping/ProcedureN.java \
  gnu/mapping/ProcLocation.java \
  gnu/mapping/Promise.java \
  gnu/mapping/PropertyKey.java \
  gnu/mapping/PropertyLocation.java \
  gnu/mapping/PropertySet.java \
  gnu/mapping/ReadOnlyLocation.java \
  gnu/mapping/RunnableClosure.java \
  gnu/mapping/Setter.java \
  gnu/mapping/Setter0.java \
  gnu/mapping/Setter1.java \
  gnu/mapping/SharedLocation.java \
  gnu/mapping/SimpleEnvironment.java \
  gnu/mapping/SimpleSymbol.java \
  gnu/mapping/Symbol.java \
  gnu/mapping/Table2D.java \
  gnu/mapping/ThreadLocation.java \
  gnu/mapping/UnboundLocationException.java \
  gnu/mapping/Values.java \
  gnu/mapping/ValueStack.java \
  gnu/mapping/WrappedException.java \
  gnu/mapping/WrongArguments.java \
  gnu/mapping/WrongType.java

GNU_MATH_JSOURCES =\
  gnu/math/BaseUnit.java \
  gnu/math/BitOps.java \
  gnu/math/CComplex.java \
  gnu/math/Complex.java \
  gnu/math/CQuantity.java \
  gnu/math/CQuaternion.java \
  gnu/math/DateTime.java \
  gnu/math/DComplex.java \
  gnu/math/DFloNum.java \
  gnu/math/Dimensions.java \
  gnu/math/DQuantity.java \
  gnu/math/DQuaternion.java \
  gnu/math/Duration.java \
  gnu/math/ExponentialFormat.java \
  gnu/math/FixedRealFormat.java \
  gnu/math/IntFraction.java \
  gnu/math/IntNum.java \
  gnu/math/MPN.java \
  gnu/math/MulUnit.java \
  gnu/math/NamedUnit.java \
  gnu/math/Numeric.java \
  gnu/math/Quantity.java \
  gnu/math/Quaternion.java \
  gnu/math/RatNum.java \
  gnu/math/RealNum.java \
  gnu/math/UByte.java \
  gnu/math/UInt.java \
  gnu/math/ULong.java \
  gnu/math/Unit.java \
  gnu/math/UnsignedPrim.java \
  gnu/math/UShort.java

GNU_Q2_LANG_JSOURCES = \
  gnu/q2/lang/DefineOp.java \
  gnu/q2/lang/Operator.java \
  gnu/q2/lang/Q2.java \
  gnu/q2/lang/Q2Read.java \
  gnu/q2/lang/Q2Translator.java

GNU_TEXT_JSOURCES = \
  gnu/text/Char.java \
  gnu/text/Lexer.java \
  gnu/text/NamedCharTable.java \
  gnu/text/Options.java \
  gnu/text/ResourceStreamHandler.java \
  gnu/text/SourceLocator.java \
  gnu/text/SourceError.java \
  gnu/text/SourceMapper.java \
  gnu/text/SourceMessages.java \
  gnu/text/StandardNamedChars.java \
  gnu/text/StringCursor.java \
  gnu/text/SyntaxException.java

GNU_KAWA_FORMAT_JSOURCES = \
  gnu/kawa/format/AbstractFormat.java \
  gnu/kawa/format/CaseConvertFormat.java \
  gnu/kawa/format/CompoundFormat.java \
  gnu/kawa/format/DelimitSubstitutionFormat.java \
  gnu/kawa/format/EnglishIntegerFormat.java \
  gnu/kawa/format/FlushFormat.java \
  gnu/kawa/format/GenericFormat.java \
  gnu/kawa/format/IntegerFormat.java \
  gnu/kawa/format/LiteralFormat.java \
  gnu/kawa/format/PadFormat.java \
  gnu/kawa/format/Printable.java \
  gnu/kawa/format/ReportFormat.java \
  gnu/kawa/format/RomanIntegerFormat.java

GNU_KAWA_FUNCTIONS_JSOURCES = \
  gnu/kawa/functions/AddOp.java \
  gnu/kawa/functions/AppendValues.java \
  gnu/kawa/functions/Apply.java \
  gnu/kawa/functions/ApplyToArgs.java \
  gnu/kawa/functions/ApplyWithValues.java \
  gnu/kawa/functions/Arithmetic.java \
  gnu/kawa/functions/ArithOp.java \
  gnu/kawa/functions/Arrays.java \
  gnu/kawa/functions/ArrayPrint.java \
  gnu/kawa/functions/ArrayRef.java \
  gnu/kawa/functions/ArraySet.java \
  gnu/kawa/functions/BitwiseOp.java \
  gnu/kawa/functions/CallCC.java \
  gnu/kawa/functions/CallWithValues.java \
  gnu/kawa/functions/CompilationHelpers.java \
  gnu/kawa/functions/CompileArith.java \
  gnu/kawa/functions/CompileNamedPart.java \
  gnu/kawa/functions/CompileMisc.java \
  gnu/kawa/functions/CompileProcess.java \
  gnu/kawa/functions/CompileValues.java \
  gnu/kawa/functions/ConstantFunction0.java \
  gnu/kawa/functions/Convert.java \
  gnu/kawa/functions/CurryExp.java \
  gnu/kawa/functions/Curry1.java \
  gnu/kawa/functions/DisplayFormat.java \
  gnu/kawa/functions/DivideOp.java \
  gnu/kawa/functions/Expt.java \
  gnu/kawa/functions/GetModuleClass.java \
  gnu/kawa/functions/GetNamedInstancePart.java \
  gnu/kawa/functions/GetNamedPart.java \
  gnu/kawa/functions/IntegerFormat.java \
  gnu/kawa/functions/IsEq.java \
  gnu/kawa/functions/IsEqual.java \
  gnu/kawa/functions/IsEqv.java \
  gnu/kawa/functions/LProcess.java \
  gnu/kawa/functions/MakeDynamic.java \
  gnu/kawa/functions/MakeList.java \
  gnu/kawa/functions/MakeProcedure.java \
  gnu/kawa/functions/MakePromise.java \
  gnu/kawa/functions/MakeSplice.java \
  gnu/kawa/functions/Map.java \
  gnu/kawa/functions/MultiplyOp.java \
  gnu/kawa/functions/NamedPart.java \
  gnu/kawa/functions/Not.java \
  gnu/kawa/functions/NumberCompare.java \
  gnu/kawa/functions/NumberPredicate.java \
  gnu/kawa/functions/RangeUtils.java \
  gnu/kawa/functions/RunProcess.java \
  gnu/kawa/functions/SetNamedPart.java \
  gnu/kawa/functions/Setter.java \
  gnu/kawa/functions/UnicodeUtils.java \
  gnu/kawa/functions/Unify.java \
  gnu/kawa/functions/ValuesMap.java \
  gnu/kawa/functions/Format.java \
  gnu/kawa/functions/LispFormat.java \
  gnu/kawa/functions/LispRealFormat.java \
  gnu/kawa/functions/ObjectFormat.java \
  gnu/kawa/functions/ParseFormat.java

GNU_KAWA_IO_JSOURCES = \
  gnu/kawa/io/BinaryInPort.java \
  gnu/kawa/io/BinaryOutPort.java \
  gnu/kawa/io/CharArrayInPort.java \
  gnu/kawa/io/CharArrayOutPort.java \
  gnu/kawa/io/CheckConsole.java \
  gnu/kawa/io/FilePath.java \
  gnu/kawa/io/InPort.java \
  gnu/kawa/io/LogWriter.java \
  gnu/kawa/io/NullReader.java \
  gnu/kawa/io/Path.java \
  gnu/kawa/io/OutPort.java \
  gnu/kawa/io/NBufferedInputStream.java \
  gnu/kawa/io/PrettyWriter.java \
  gnu/kawa/io/QueueReader.java \
  gnu/kawa/io/TermErrorStream.java \
  gnu/kawa/io/TtyInPort.java \
  gnu/kawa/io/URIPath.java \
  gnu/kawa/io/URLPath.java \
  gnu/kawa/io/WriterManager.java

GNU_KAWA_ECHO2_JSOURCES = \
  gnu/kawa/echo2/Echo2AppInstance.java \
  gnu/kawa/echo2/Echo2Display.java \
  gnu/kawa/echo2/Echo2Servlet.java \
  gnu/kawa/echo2/Echo2Window.java

GNU_KAWA_REFLECT_JSOURCES = \
  gnu/kawa/reflect/ArrayGet.java \
  gnu/kawa/reflect/ArrayLength.java \
  gnu/kawa/reflect/ArrayMake.java \
  gnu/kawa/reflect/ArrayNew.java \
  gnu/kawa/reflect/ArraySet.java \
  gnu/kawa/reflect/ClassMemberLocation.java \
  gnu/kawa/reflect/ClassMethods.java \
  gnu/kawa/reflect/CompileArrays.java \
  gnu/kawa/reflect/CompileBuildObject.java \
  gnu/kawa/reflect/CompileInvoke.java \
  gnu/kawa/reflect/CompileReflect.java \
  gnu/kawa/reflect/FieldLocation.java \
  gnu/kawa/reflect/InstanceOf.java \
  gnu/kawa/reflect/Invoke.java \
  gnu/kawa/reflect/LazyType.java \
  gnu/kawa/reflect/MakeAnnotation.java \
  gnu/kawa/reflect/MappedArrayType.java \
  gnu/kawa/reflect/MultValuesType.java \
  gnu/kawa/reflect/OccurrenceType.java \
  gnu/kawa/reflect/ProceduralProxy.java \
  gnu/kawa/reflect/SingletonType.java \
  gnu/kawa/reflect/SlotGet.java \
  gnu/kawa/reflect/SlotSet.java \
  gnu/kawa/reflect/StaticFieldLocation.java \
  gnu/kawa/reflect/StaticGet.java \
  gnu/kawa/reflect/StaticSet.java \
  gnu/kawa/reflect/Throw.java \
  gnu/kawa/reflect/TypeSwitch.java

GNU_KAWA_UTIL_JSOURCES = \
  gnu/kawa/util/AbstractHashTable.java \
  gnu/kawa/util/AbstractWeakHashTable.java \
  gnu/kawa/util/BoundedHashable.java \
  gnu/kawa/util/ExitCalled.java \
  gnu/kawa/util/FixupHtmlToc.java \
  gnu/kawa/util/GeneralHashTable.java \
  gnu/kawa/util/HeapSort.java \
  gnu/kawa/util/IdentityHashTable.java \
  gnu/kawa/util/IntHashTable.java \
  gnu/kawa/util/HashNode.java \
  gnu/kawa/util/HashUtils.java \
  gnu/kawa/util/PrimArrayUtils.java \
  gnu/kawa/util/RangeTable.java \
  gnu/kawa/util/RunTestScript.java \
  gnu/kawa/util/Signals.java \
  gnu/kawa/util/WeakHashNode.java \
  gnu/kawa/util/WeakIdentityHashMap.java

GNU_KAWA_LISPEXPR_XML_JSOURCES = \
  gnu/kawa/lispexpr/MakeXmlElement.java \
  gnu/kawa/lispexpr/ReaderXmlElement.java \
  gnu/kawa/lispexpr/ResolveNamespace.java

GNU_KAWA_LISPEXPR_JSOURCES = \
  gnu/kawa/lispexpr/BracketApply.java \
  gnu/kawa/lispexpr/ClassNamespace.java \
  gnu/kawa/lispexpr/DefineNamespace.java \
  gnu/kawa/lispexpr/GenArrayType.java \
  gnu/kawa/lispexpr/LangObjType.java \
  gnu/kawa/lispexpr/LangPrimType.java \
  gnu/kawa/lispexpr/LispLanguage.java \
  gnu/kawa/lispexpr/LispPackage.java \
  gnu/kawa/lispexpr/LispReader.java \
  gnu/kawa/lispexpr/ReaderColon.java \
  gnu/kawa/lispexpr/ReaderConstituent.java \
  gnu/kawa/lispexpr/ReaderDispatch.java \
  gnu/kawa/lispexpr/ReaderDispatchMacro.java \
  gnu/kawa/lispexpr/ReaderDispatchMisc.java \
  gnu/kawa/lispexpr/ReaderDispatchSyntaxQuote.java \
  gnu/kawa/lispexpr/ReaderExtendedLiteral.java \
  gnu/kawa/lispexpr/ReaderIgnoreRestOfLine.java \
  gnu/kawa/lispexpr/ReaderMacro.java \
  gnu/kawa/lispexpr/ReaderMisc.java \
  gnu/kawa/lispexpr/ReaderNestedComment.java \
  gnu/kawa/lispexpr/ReaderParens.java \
  gnu/kawa/lispexpr/ReaderQuote.java \
  gnu/kawa/lispexpr/ReaderString.java \
  gnu/kawa/lispexpr/ReaderTypespec.java \
  gnu/kawa/lispexpr/ReaderVector.java \
  gnu/kawa/lispexpr/ReadTable.java \
  gnu/kawa/lispexpr/ReadTableEntry.java \
  gnu/kawa/lispexpr/SeqSizeType.java

GNU_KAWA_MODELS_JSOURCES = \
  gnu/kawa/models/Box.java \
  gnu/kawa/models/Button.java \
  gnu/kawa/models/Column.java \
  gnu/kawa/models/DDimension.java \
  gnu/kawa/models/Display.java \
  gnu/kawa/models/DrawImage.java \
  gnu/kawa/models/DrawShape.java \
  gnu/kawa/models/FillShape.java \
  gnu/kawa/models/Label.java \
  gnu/kawa/models/Model.java \
  gnu/kawa/models/ModelListener.java \
  gnu/kawa/models/MenuItem.java \
  gnu/kawa/models/Picture.java \
  gnu/kawa/models/Pictures.java \
  gnu/kawa/models/PictureToSvg.java \
  gnu/kawa/models/PictureVisitor.java \
  gnu/kawa/models/PBox.java \
  gnu/kawa/models/Row.java \
  gnu/kawa/models/Spacer.java \
  gnu/kawa/models/StandardColor.java \
  gnu/kawa/models/SVGUtils.java \
  gnu/kawa/models/Text.java \
  gnu/kawa/models/Viewable.java \
  gnu/kawa/models/WeakListener.java \
  gnu/kawa/models/Window.java \
  gnu/kawa/models/WithComposite.java \
  gnu/kawa/models/WithPaint.java \
  gnu/kawa/models/WithTransform.java

GNU_KAWA_SWINGVIEWS_JSOURCES =\
  gnu/kawa/swingviews/SwingButton.java \
  gnu/kawa/swingviews/SwingContent.java \
  gnu/kawa/swingviews/SwingDisplay.java \
  gnu/kawa/swingviews/SwingFrame.java \
  gnu/kawa/swingviews/SwingPicture.java

GNU_KAWA_SWTVIEWS_JSOURCES =\
  gnu/kawa/swtviews/SwtDisplay.java

GNU_ECMASCRIPT_JSOURCES =\
  gnu/ecmascript/Reserved.java \
  gnu/ecmascript/BinaryOp.java \
  gnu/ecmascript/Convert.java \
  gnu/ecmascript/Lexer.java \
  gnu/ecmascript/Parser.java \
  gnu/ecmascript/Prompter.java

GNU_XML_JSOURCES = \
  gnu/xml/NamedChildrenFilter.java \
  gnu/xml/NamespaceBinding.java \
  gnu/xml/NodeTree.java \
  gnu/xml/TextUtils.java \
  gnu/xml/XMLFilter.java \
  gnu/xml/XMLParser.java \
  gnu/xml/XMLPrinter.java \
  gnu/xml/XName.java

GNU_KAWA_XML_JSOURCES = \
  gnu/kawa/xml/AncestorAxis.java \
  gnu/kawa/xml/AncestorOrSelfAxis.java \
  gnu/kawa/xml/AttributeAxis.java \
  gnu/kawa/xml/Attributes.java \
  gnu/kawa/xml/AttributeType.java \
  gnu/kawa/xml/Base64Binary.java \
  gnu/kawa/xml/BinaryObject.java \
  gnu/kawa/xml/ChildAxis.java \
  gnu/kawa/xml/Children.java \
  gnu/kawa/xml/CoerceNodes.java \
  gnu/kawa/xml/CommentConstructor.java \
  gnu/kawa/xml/CompileXmlFunctions.java \
  gnu/kawa/xml/DescendantAxis.java \
  gnu/kawa/xml/DescendantOrSelfAxis.java \
  gnu/kawa/xml/Document.java \
  gnu/kawa/xml/DocumentConstructor.java \
  gnu/kawa/xml/ElementType.java \
  gnu/kawa/xml/Focus.java \
  gnu/kawa/xml/FollowingAxis.java \
  gnu/kawa/xml/FollowingSiblingAxis.java \
  gnu/kawa/xml/HexBinary.java \
  gnu/kawa/xml/HttpPrinter.java \
  gnu/kawa/xml/IntersectNodes.java \
  gnu/kawa/xml/IteratorItems.java \
  gnu/kawa/xml/KAttr.java \
  gnu/kawa/xml/KCDATASection.java \
  gnu/kawa/xml/KCharacterData.java \
  gnu/kawa/xml/KComment.java \
  gnu/kawa/xml/KDocument.java \
  gnu/kawa/xml/KElement.java \
  gnu/kawa/xml/KNode.java \
  gnu/kawa/xml/KProcessingInstruction.java \
  gnu/kawa/xml/KText.java \
  gnu/kawa/xml/ListItems.java \
  gnu/kawa/xml/MakeAttribute.java \
  gnu/kawa/xml/MakeCDATA.java \
  gnu/kawa/xml/MakeElement.java \
  gnu/kawa/xml/MakeProcInst.java \
  gnu/kawa/xml/MakeResponseHeader.java \
  gnu/kawa/xml/MakeText.java \
  gnu/kawa/xml/MakeUnescapedData.java \
  gnu/kawa/xml/MakeWithBaseUri.java \
  gnu/kawa/xml/NodeCompare.java \
  gnu/kawa/xml/NodeConstructor.java \
  gnu/kawa/xml/Nodes.java \
  gnu/kawa/xml/NodeSetType.java \
  gnu/kawa/xml/NodeType.java \
  gnu/kawa/xml/Notation.java \
  gnu/kawa/xml/OutputAsXML.java \
  gnu/kawa/xml/ParentAxis.java \
  gnu/kawa/xml/PrecedingAxis.java \
  gnu/kawa/xml/PrecedingSiblingAxis.java \
  gnu/kawa/xml/ProcessingInstructionType.java \
  gnu/kawa/xml/SelfAxis.java \
  gnu/kawa/xml/SortNodes.java \
  gnu/kawa/xml/SortedNodes.java \
  gnu/kawa/xml/TreeScanner.java \
  gnu/kawa/xml/UnionNodes.java \
  gnu/kawa/xml/UntypedAtomic.java \
  gnu/kawa/xml/WriteTo.java \
  gnu/kawa/xml/XDataType.java \
  gnu/kawa/xml/XInteger.java \
  gnu/kawa/xml/XIntegerType.java \
  gnu/kawa/xml/XString.java \
  gnu/kawa/xml/XStringType.java \
  gnu/kawa/xml/XTimeType.java \
  gnu/kawa/xml/XmlNamespace.java

GNU_KAWA_SAX_JSOURCES = \
  gnu/kawa/sax/ContentConsumer.java \
  gnu/kawa/sax/KawaXMLReader.java

GNU_KAWA_XSLT_JSOURCES = \
  gnu/kawa/xslt/ApplyTemplates.java \
  gnu/kawa/xslt/TemplateTable.java \
  gnu/kawa/xslt/XSLT.java \
  gnu/kawa/xslt/XslTranslator.java

# These Java sources are not built or used when using configure+make, only
# when using Ant - but they still should go into the distribution tar file.
GNU_KAWA_ANT_JSOURCES =\
  gnu/kawa/ant/LineStripperSet.java \
  gnu/kawa/ant/LineCommenterSet.java \
  gnu/kawa/ant/XCopy.java \
  gnu/kawa/ant/Kawac.java

GNU_KAWA_IO_JLINE_JSOURCES =\
  gnu/kawa/io/JLineInPort.java

GNU_COMMONLISP_LANG_JSOURCES =\
  gnu/commonlisp/lang/Lisp2.java \
  gnu/commonlisp/lang/Lisp2Compilation.java \
  gnu/commonlisp/lang/defvar.java \
  gnu/commonlisp/lang/defun.java \
  gnu/commonlisp/lang/function.java \
  gnu/commonlisp/lang/OrdinaryLambda.java \
  gnu/commonlisp/lang/prog1.java \
  gnu/commonlisp/lang/setq.java \
  gnu/commonlisp/lang/Symbols.java \
  gnu/commonlisp/lang/UnwindProtect.java \
  gnu/commonlisp/lang/CommonLisp.java \
  gnu/commonlisp/lang/CLReadTable.java

GNU_XQUERY_LANG_JSOURCES =\
  gnu/xquery/lang/XQuery.java \
  gnu/xquery/lang/XQParser.java \
  gnu/xquery/lang/XQResolveNames.java

GNU_XQUERY_UTIL_JSOURCES =\
  gnu/xquery/util/ArithOp.java \
  gnu/xquery/util/Average.java \
  gnu/xquery/util/BooleanValue.java \
  gnu/xquery/util/CastableAs.java \
  gnu/xquery/util/CastAs.java \
  gnu/xquery/util/Compare.java \
  gnu/xquery/util/CompileMisc.java \
  gnu/xquery/util/Debug.java \
  gnu/xquery/util/DistinctValues.java \
  gnu/xquery/util/IntegerRange.java \
  gnu/xquery/util/ItemAt.java \
  gnu/xquery/util/MinMax.java \
  gnu/xquery/util/NamedCollator.java \
  gnu/xquery/util/NodeUtils.java \
  gnu/xquery/util/NumberValue.java \
  gnu/xquery/util/OrderedMap.java \
  gnu/xquery/util/OrderedTuples.java \
  gnu/xquery/util/QNameUtils.java \
  gnu/xquery/util/Reduce.java \
  gnu/xquery/util/RelativeStep.java \
  gnu/xquery/util/RelativeStepFilter.java \
  gnu/xquery/util/SequenceUtils.java \
  gnu/xquery/util/StringUtils.java \
  gnu/xquery/util/TimeUtils.java \
  gnu/xquery/util/ValuesFilter.java \
  gnu/xquery/util/XQException.java

GNU_XQUERY_SCRIPT_JSOURCES =\
  gnu/xquery/lang/XQueryScriptEngineFactory.java

KAWA_JSOURCES =\
  kawa/repl.java \
  kawa/Shell.java \
  kawa/SourceMethodType.java \
  kawa/SourceType.java \
  kawa/TelnetInputStream.java \
  kawa/TelnetOutputStream.java \
  kawa/Telnet.java \
  kawa/TelnetRepl.java

KAWA_LANG_JSOURCES = \
  kawa/lang/AnyPat.java \
  kawa/lang/AutoloadProcedure.java \
  kawa/lang/AutoloadSyntax.java \
  kawa/lang/BindDecls.java \
  kawa/lang/CalledContinuation.java \
  kawa/lang/CompileFile.java \
  kawa/lang/Continuation.java \
  kawa/lang/EqualPat.java \
  kawa/lang/Eval.java \
  kawa/lang/GenericError.java\
  kawa/lang/GetFieldProc.java \
  kawa/lang/Lambda.java \
  kawa/lang/ListPat.java \
  kawa/lang/ListRepeatPat.java \
  kawa/lang/Macro.java \
  kawa/lang/NamedException.java \
  kawa/lang/PairPat.java \
  kawa/lang/Pattern.java \
  kawa/lang/PatternScope.java \
  kawa/lang/Quote.java \
  kawa/lang/RecordConstructor.java \
  kawa/lang/Record.java \
  kawa/lang/SetFieldProc.java \
  kawa/lang/SyntaxForm.java \
  kawa/lang/SyntaxForms.java \
  kawa/lang/Syntax.java \
  kawa/lang/SyntaxPattern.java \
  kawa/lang/SyntaxRule.java \
  kawa/lang/SyntaxRules.java \
  kawa/lang/SyntaxTemplate.java \
  kawa/lang/TemplateScope.java \
  kawa/lang/Translator.java \
  kawa/lang/VarListPat.java

KAWA_STANDARD_JSOURCES =\
  kawa/standard/append.java \
  kawa/standard/begin.java \
  kawa/standard/char_ready_p.java \
  kawa/standard/constant_fold.java \
  kawa/standard/define_alias.java \
  kawa/standard/define_autoload.java \
  kawa/standard/define_class.java \
  kawa/standard/define.java \
  kawa/standard/define_library.java \
  kawa/standard/define_syntax.java \
  kawa/standard/define_unit.java \
  kawa/standard/export.java \
  kawa/standard/fluid_let.java \
  kawa/standard/IfFeature.java \
  kawa/standard/ImportFromLibrary.java \
  kawa/standard/Include.java \
  kawa/standard/let.java \
  kawa/standard/let_syntax.java \
  kawa/standard/load.java \
  kawa/standard/location.java \
  kawa/standard/make.java \
  kawa/standard/MatchDef.java \
  kawa/standard/module_compile_options.java \
  kawa/standard/module_extends.java \
  kawa/standard/module_implements.java \
  kawa/standard/module_name.java \
  kawa/standard/module_static.java \
  kawa/standard/object.java \
  kawa/standard/prim_method.java \
  kawa/standard/read_line.java \
  kawa/standard/require.java \
  kawa/standard/Scan.java \
  kawa/standard/SchemeCompilation.java \
  kawa/standard/Scheme.java \
  kawa/standard/set_b.java \
  kawa/standard/sleep.java \
  kawa/standard/syntax_case.java \
  kawa/standard/syntax_error.java \
  kawa/standard/syntax.java \
  kawa/standard/syntax_rules.java \
  kawa/standard/thisRef.java \
  kawa/standard/TracedProcedure.java \
  kawa/standard/try_catch.java \
  kawa/standard/vector_append.java \
  kawa/standard/with_compile_options.java

KAWA_WITH_AWT_JSOURCES =\
  kawa/GuiConsole.java \
  kawa/GuiInPort.java \
  kawa/ReplPane.java \
  kawa/ReplDocument.java \
  kawa/ReplPaneOutPort.java

KAWA_WITH_SCRIPT =\
  kawa/standard/SchemeScriptEngineFactory.java

KAWA_WITH_DOMTERM =\
  kawa/DomTermBackend.java

sources_gnu_core = \
  $(GNU_LISTS_JSOURCES) \
  $(GNU_TEXT_JSOURCES) \
  $(GNU_MAPPING_JSOURCES) \
  $(GNU_MATH_JSOURCES) \
  $(GNU_EXPR_JSOURCES) \
  $(GNU_KAWA_FORMAT_JSOURCES) \
  $(GNU_KAWA_IO_JSOURCES) \
  $(GNU_KAWA_UTIL_JSOURCES) \
  $(GNU_KAWA_REFLECT_JSOURCES) \
  $(GNU_KAWA_FUNCTIONS_JSOURCES) \
  $(GNU_KAWA_LISPEXPR_JSOURCES) \
  $(GNU_ECMASCRIPT_JSOURCES)

sources_gnu_misc = \
  $(GNU_COMMONLISP_LANG_JSOURCES) \
  $(GNU_Q2_LANG_JSOURCES)

sources_kawa_core =\
  $(KAWA_JSOURCES) \
  $(KAWA_LANG_JSOURCES) \
  $(KAWA_STANDARD_JSOURCES)

sources_gnu_selected =
sources_kawa_selected =
if WITH_SWING
sources_gnu_selected += $(GNU_KAWA_SWINGVIEWS_JSOURCES)
endif
if WITH_SWT
sources_gnu_selected += $(GNU_KAWA_SWTVIEWS_JSOURCES)
endif
if WITH_JLINE3
sources_gnu_selected += $(GNU_KAWA_IO_JLINE_JSOURCES)
endif
if ENABLE_XML
sources_gnu_selected += $(GNU_XML_JSOURCES) $(GNU_KAWA_XML_JSOURCES) $(GNU_KAWA_LISPEXPR_XML_JSOURCES)
if WITH_SAX2
sources_gnu_selected += $(GNU_KAWA_SAX_JSOURCES)
endif
endif
if ENABLE_ECHO2
sources_gnu_selected += $(GNU_KAWA_ECHO2_JSOURCES)
endif
if ENABLE_XML
if ENABLE_XQUERY
sources_gnu_selected += $(GNU_XQUERY_LANG_JSOURCES) $(GNU_XQUERY_UTIL_JSOURCES) $(GNU_KAWA_XSLT_JSOURCES)
if WITH_JAVAX_SCRIPT
sources_gnu_selected += $(GNU_XQUERY_SCRIPT_JSOURCES)
endif
endif
endif
if WITH_JAVAX_SCRIPT
sources_gnu_selected += $(JAVAX_SCRIPT_EXTRA)
sources_kawa_selected += $(KAWA_WITH_SCRIPT)
endif
if ENABLE_JEMACS
sources_gnu_selected += $(GNU_JEMACS_LANG_JSOURCES) $(GNU_JEMACS_BUFFER_JSOURCES)
if WITH_SWING
sources_gnu_selected += $(GNU_JEMACS_SWING_JSOURCES)
endif
if WITH_SWT
sources_gnu_selected += $(GNU_JEMACS_SWT_JSOURCES)
endif
endif
if WITH_AWT
sources_kawa_selected += $(KAWA_WITH_AWT_JSOURCES) $(GNU_KAWA_MODELS_JSOURCES)
endif
if WITH_DOMTERM
sources_kawa_selected += $(KAWA_WITH_DOMTERM)
endif
if WITH_LSP4J
sources_kawa_selected += $(KAWA_LANGSERVER_JSOURCES)
endif
java_sources = $(sources_gnu_core) $(sources_gnu_misc) $(sources_kawa_core) $(sources_gnu_selected) $(sources_kawa_selected)

dist_jsources = \
  $(sources_gnu_core) \
  $(sources_gnu_misc) \
  $(sources_kawa_core) \
  $(GNU_JEMACS_LANG_JSOURCES) \
  $(GNU_JEMACS_BUFFER_JSOURCES) \
  $(GNU_JEMACS_SWING_JSOURCES) \
  $(GNU_JEMACS_SWT_JSOURCES) \
  $(GNU_KAWA_MODELS_JSOURCES) \
  $(GNU_KAWA_SWINGVIEWS_JSOURCES) \
  $(GNU_KAWA_SWINGVIEWS_JSOURCES) \
  $(GNU_KAWA_SWTVIEWS_JSOURCES) \
  $(GNU_KAWA_IO_JLINE_JSOURCES) \
  $(GNU_KAWA_XML_JSOURCES) \
  $(GNU_KAWA_LISPEXPR_XML_JSOURCES) \
  $(GNU_KAWA_SAX_JSOURCES) \
  $(GNU_KAWA_ECHO2_JSOURCES) \
  $(GNU_KAWA_XSLT_JSOURCES) \
  $(GNU_XML_JSOURCES) \
  $(GNU_XQUERY_LANG_JSOURCES) \
  $(GNU_XQUERY_UTIL_JSOURCES) \
  $(GNU_XQUERY_SCRIPT_JSOURCES) \
  $(KAWA_WITH_AWT_JSOURCES) \
  $(KAWA_WITH_SCRIPT) \
  $(KAWA_WITH_DOMTERM) \
  $(JAVAX_SCRIPT_EXTRA)

MISC_EXTRA_DIST = \
  $(dist_jsources) \
  gnu/kawa/util/PreProcess.java \
  gnu/expr/package.html \
  gnu/mapping/package.html \
  gnu/math/package.html \
  gnu/jemacs/buffer/package.html \
  gnu/jemacs/lang/package.html \
  gnu/lists/package.html \
  gnu/lists/PrimVector.template \
  gnu/text/package.html \
  gnu/kawa/reflect/package.html \
  kawa/Version.java.in \
  $(GNU_KAWA_ANT_JSOURCES)
